package com.spongebob.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spongebob.pojo.Session;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 会话表 Mapper 接口
 * </p>
 *
 * @author tutu
 * @since 2021-03-16
 */
public interface SessionMapper extends BaseMapper<Session> {
    @Select("SELECT * FROM `session` WHERE sessionId=#{sessionId}")
    public Session selectSessionById(Integer sessionId);
}
